package com.ctsi.findexpert.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import java.io.Serializable;
import java.util.Date;

/**
 * 沟通记录
 */
@Entity(name = "t_record")
public class Record implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 沟通时间
     */
    @Column
    private Date meetTime;
    /**
     * 沟通类型
     */
    @Column(length = 100)
    private String type;
    /**
     * 评价得分
     */
    @Column
    private Integer score;
    /**
     * 评价内容
     */
    @Lob
    private String evolContext;

    public Record() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getMeetTime() {
        return meetTime;
    }

    public void setMeetTime(Date meetTime) {
        this.meetTime = meetTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getEvolContext() {
        return evolContext;
    }

    public void setEvolContext(String evolContext) {
        this.evolContext = evolContext;
    }
}
